Skip to content

Conversation

@alexcrichton
Copy link
Member

Closes #9186

bors added a commit that referenced this pull request Oct 31, 2013
@bors bors closed this Oct 31, 2013
@bors bors merged commit 0db5005 into rust-lang:master Oct 31, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 12, 2023
…fate

expl_impl_clone_on_copy: ignore packed structs with type/const params

changelog: [`expl_impl_clone_on_copy`]: Ignore `#[repr(packed)]` structs with type or const paramaters

Fixes rust-lang#10188

A more involved solution that checks if any bound on the trait impl aren't present on the struct definition would be ideal, but I couldn't see a nice way to go about that
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inner statics in generic fns aren't handled correctly.

3 participants